package com.zzw.mvvm.beans;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class DemoEntity {

    public DemoEntity(String name, String aget) {
        this.name = name;
        this.aget = aget;
    }

    @PrimaryKey
    @NonNull
    String name;
    @ColumnInfo
    String aget;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAget() {
        return aget;
    }

    public void setAget(String aget) {
        this.aget = aget;
    }
}
